From: Felix Krull Date: Thu, 31 Oct 2019 13:04:04 +0000 (+0100) Subject: ci: install sccache during docs build X-Git-Tag: archive/raspbian/2022.4-1+rpi1^2~9^2^2~20^2~181 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=53f9c1a3aa6ad65285d1dfeaf201d49726a50d32;p=ostree.git ci: install sccache during docs build --- diff --git a/rust-bindings/rust/.gitlab-ci.yml b/rust-bindings/rust/.gitlab-ci.yml index 00ffb39b..176fdb74 100644 --- a/rust-bindings/rust/.gitlab-ci.yml +++ b/rust-bindings/rust/.gitlab-ci.yml @@ -9,7 +9,9 @@ variables: OSTREE_VERSION: v2019_3 before_script: -- dnf install -y cargo rust clippy rustfmt git make ostree-devel +# only on the Fedora images +- if which dnf > /dev/null; then dnf install -y cargo rust clippy rustfmt git make ostree-devel; fi +# always - curl -L "${SCCACHE_URL}" | tar -C /usr/bin/ -xz --wildcards --strip-components=1 '*/sccache' cache: @@ -54,7 +56,6 @@ docs: --extern-html-root-url gio_sys=https://gtk-rs.org/docs --extern-html-root-url glib=https://gtk-rs.org/docs --extern-html-root-url gio=https://gtk-rs.org/docs - before_script: [] script: - make merge-lgpl-docs - cargo rustdoc --verbose --package ostree-sys --features dox -- ${RUSTDOC_OPTS}